<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">  
<head>
    <meta charset="utf-8"/>
    <title>考拉综合管理系统-自动审核条件查询</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="favicon.ico" rel="shortcut icon"/>
    <link href="http://resource.1hai.cn/Resource/Eui/1.1/css/eui.min.css" rel="stylesheet"/>
    <link th:href="@{/css/auto_verify.css}" rel="stylesheet" type="text/css"/>
</head>

<body>
<div class="header clearfix">
    <div class="header-logo pull-left">
        <a class="logo" href="####"></a>
    </div>

    <div id="J_HeaderNav" class="header-nav pull-left">
        <h1 class="header-nav-text">考拉后台管理系统</h1>
    </div>

    <div class="header-opt pull-right">
        <div class="list-unstyled header-opt-list clearfix">
            <li>欢迎您，BOBO（工号：10100）</li>
            <li><a th:href="@{/index}"><i class="opt-home"></i>返回主页</a></li>
            <li><a href="####"><i class="opt-signout"></i>退出</a></li>
            <li><a href="####"><i class="opt-help"></i>帮助</a></li>
            <li><a href="####"><i class="opt-video"></i>视频演示</a></li>
        </div>
    </div>
</div>

<div id="J_Content" class="content">
    <!-- sidebar -->
    <div class="content-sidebar">
        <div class="sidebar-nav">
            <div class="sidebar-nav-item">
                <h3 class="sidebar-nav-header"><i class="icon icon-sbn-common"></i><i class="caret"></i>维修厂管理</h3>
                <ul class="list-unstyled sidebar-nav-menu" style="max-height: 30px;">
                    <li><a th:href="@{/repair/shops}"><i></i>维修厂查询</a></li>
                </ul>
            </div>


            <div class="sidebar-nav-item">
                <h3 class="sidebar-nav-header"><i class="icon icon-sbn-order"></i><i class="caret"></i>账号管理</h3>
                <ul class="list-unstyled sidebar-nav-menu" style="max-height: 30px;">
                    <li><a th:href="@{/koala/account}"><i></i>考拉账号查询</a></li>
                    <li><a th:href="@{/repair/account}"><i></i>维修厂账号查询</a></li>
                </ul>
            </div>

            <div class="sidebar-nav-item active">
                <h3 class="sidebar-nav-header"><i class="icon icon-sbn-order"></i><i class="caret"></i>自动审核</h3>
                <ul class="list-unstyled sidebar-nav-menu" style="max-height: 30px;">
                    <li class="active"><a th:href="@{/audit/content}"><i></i>自动审核</a></li>
                </ul>
            </div>


        </div>

        <div id="J_HideSidebarBtn" class="sidebar-btn"><span></span></div>
    </div>

    <!-- product -->
    <div class="content-product">
        <div class="content-product-wrapper">
            <div class="content-product-container">
                <div class="row">
                   <form th:action="@{/audit/content}" >
                    <div class="filter-box">
                        <div class="form-horizontal">
                            <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4">
                                <div class="form-group">
                                    <label class="col-xs-4 control-label">类别</label>
                                    <div class="col-xs-8">
                                        <select class="form-control" name="type">
                                            <option>aaa</option>
                                            <option>bbb</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4">
                                <div class="form-group">
                                    <label class="col-xs-4 control-label">名称</label>
                                    <div class="col-xs-8">
                                        <input class="form-control" placeholder="请输入名称" name="name" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4">
                                <div class="form-group">
                                    <label class="col-xs-5 control-label">状态</label>
                                    <div class="col-xs-7">
                                        <select class="form-control" name="status">
                                            <option value="不限">不限</option>
                                            <option value="未审核">未审核</option>
                                            <option value="审核通过">审核通过</option>
                                            <option value="拒绝">拒绝</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="filter-box-button">
                            <input id="account_search" type="submit" class="btn btn-primary" value="查询"/>
                        </div>
                    </div>
					</form>

                    <table width="100%" class="table table-bordered table-striped text-center">
                        <thead>
                        <tr>
                            <td><input type="checkbox"/></td>
                            <td>编号</td>
                            <td>项目</td>
                            <td>设置人</td>
                            <td>审核人</td>
                            <td>状态</td>
                            <td>内容</td>
                            <td>操作</td>

                        </tr>
                        </thead>
                        <tbody th:each="audit:${audits}" th:if="${audits!=null}">
                        <tr>
                            <td><input type="checkbox"/></td>
                            <td th:text="${audit.no}"></td>
                            <td th:text="${audit.project}"></td>
                            <td th:text="${audit.configPerson}"> </td>
                            <td th:text="${audit.auditPerson}"></td>
                            <td th:text="${audit.status}"></td>
                            <td th:text="${audit.content}"></td>
                            <td>
                                <!--  <a id="verify" href="#">审核</a>-->
                                <div class="btn-group dropdown dropup">
                                <button type="button" class="btn btn-link btn-lg dropdown-toggle" aria-expanded="false">审核<span class="caret"></span></button>
                                <ul class="dropdown-menu">
                                    <li><a href="####">审核通过</a></li>
                                    <li class="divider"></li>
                                    <li><a href="####">拒绝</a></li>
                                </ul>
                            	</div>
                                <a id="delete" href="#">删除</a>
                            </td>
                        </tr>


                        </tbody>
                    </table>

                </div>


            </div>
                <input id="add" type="button" class="btn btn-info" value="添加"/>
        </div>
    </div>
</div>

<!-- Modal -->
<div id="myModal" class="modal customer-class" style="top: 50px;">
    <div class="modal-dialog" >
        <div class="modal-content">
            <button type="button" class="j-modal-close modal-close"><span class="modal-close-x">×</span></button>

            <div class="modal-header">
                <div class="modal-title">添加自动审核</div>
            </div>

            <div class="modal-body">
                <div>
                    <div id="verify_edit_body">
                        <form>
                            <br/>
                            <div class="edit_layer">
                                <label>类别</label>
                                <select>
                                    <option value=""></option>
                                </select>
                                <label>项目</label>
                                <select>
                                    <option value=""></option>
                                </select>
                            </div>
                            <br/>
                            <form>
                                <fieldset>
                                    <legend>条件</legend>
                                    <div class="modal_layer">
                                        <label for="interval_km">间隔公里数</label>
                                        <input id="interval_km"/>
                                        <input type="checkbox">
                                        <label for="interval_date">间隔日期</label>
                                        <input id="interval_date"/>
                                        <input type="checkbox">
                                    </div>
                                    <br/>
                                    <div class="modal_layer">
                                        <label for="highest_price">最高价格</label>
                                        <input id="highest_price"/>
                                        <input type="checkbox">
                                        <label for="available_date">有效期</label>
                                        <input id="available_date"/>
                                        <input type="checkbox">
                                    </div>
                                    <br/>
                                        <div class="modal_layer">
                                        <label for="car_prop">车辆属性</label>
                                        <input id="car_prop"/>
                                        <input type="checkbox">
                                        <label for="part_brand">配件品牌</label>
                                        <input id="part_brand"/>
                                        <input type="checkbox">
                                    </div>
                                    <br/>
                                        <div class="modal_layer">
                                        <label for="car_type">车型</label>
                                        <input id="car_type"/>
                                        <input type="checkbox"/>
                                    </div>
                                    <br/>
                                </fieldset>
                            </form>

                        </form>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="j-modal-cancel btn">
                        <span>取消</span>
                    </button>
                    <button type="button" class="j-modal-ok btn btn-primary">
                        <i class="glyphicon glyphicon-refresh"></i>
                        <span>确定</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal-backdrop"></div>
<script src="http://resource.1hai.cn/Resource/Eui/1.1/js/jquery.min.js"></script>
<script src="http://resource.1hai.cn/Resource/Eui/1.1/js/eui.min.js"></script>
<script th:src="@{/js/auto_verify.js}"></script>
</body>
</html>